package cn.wolfcode.crm.service;


import cn.wolfcode.crm.domain.Permission;
import cn.wolfcode.crm.query.QueryObject;
import cn.wolfcode.crm.util.PageResult;

import java.util.List;
import java.util.Set;

/**
 * @author 12900
 * @time 2018年6月19日下午12:48:40
 * @email 12900qq.com
 * @description
 */
public interface IPermissionService {

    void reload();

    List<Permission> list();

    PageResult query(QueryObject qo);

    List<Permission> queryPermissionByRoleId(Long roleId);

    Set<String> selectAllExpressionByEmpId(Long id);

    void delete(Long id);

}
